<?
session_start();
include "admin/conf.php";
if(!isset($_SESSION['global_purab']))
{
	header("location:login.php");
}

$id=$_POST['id'];
if(!empty($id)){
$query = "DELETE FROM videos WHERE id='$id' ";
$result=mysql_query($query) or die("SQL error ".mysql_error());
header("Location: insert_video.php");
exit();
}
?>